package com.cloudspace.yunloan.config;

public class Configs {
    public static final String PRE_NAME = "jindun_preference_";                        //配置文件名
    public static final String MACADDRESS = "jindun_macaddress";                       //标识macaddress的标识

    public static final String APPKEY = "8brlm7uf8pri3";

    public static final String SIP_USERNAME = "100";
    public static final String SIP_DOMAIN = "11001.s1.minisipserver.com";
    public static final String SIP_PASSWORD = SIP_USERNAME;

    //http 服务器ip
    public static final String SERVER_IP_RELEASE = "111.198.66.147:12345";
    public static final String SERVER_IP_DEBUG = "192.168.0.129:8080";
    public static  String SERVER_IP = SERVER_IP_RELEASE;

    //api version
    public static final String API_VERSION = "V1.0";

    //websocket 服务器ip
    public static final String WS_IP_DEBUG = "192.168.0.129:9003";
    public static final String WS_IP_RELEASE = "111.198.66.147:9003";
    public static  String WS_IP = WS_IP_RELEASE;

    public static void setServerIp(boolean isDebug){
        WS_IP = isDebug?WS_IP_DEBUG:WS_IP_RELEASE;
        SERVER_IP = isDebug?SERVER_IP_DEBUG: SERVER_IP_RELEASE;
    }

    public static final int IMAGE_CORNER_RADIUS = 10;
}

